<HTML>
<HEAD>
<META NAME="GENERATOR" Content="Microsoft Visual Studio 8.0">
<TITLE></TITLE>
<script type="text/javascript">
function window_onblur()
{
    var e = document.createElement("p");
    e.innerText = "blur:" + new Date().toLocaleTimeString();
    document.body.insertBefore(e, document.body.firstChild);
    //window.close();
}
window.onblur = window_onblur;
function window_onfocus() {
    try {
        var e = document.createElement("p");
        e.innerText = "focus:" + new Date().toLocaleTimeString();
        document.body.insertBefore(e, document.body.firstChild);
    } catch (e) {
    alert(e.message);
    }
}
window.onfocus = window_onfocus;
</script>
</HEAD>
<BODY>
as
df
asdf
asdf
as
df

<iframe src="211"></iframe>
</BODY>
</HTML>
